html,
body{
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#root {
  height: 100%;
  width: 100%;
  display: flex;
  background: #FAFAFA;
}

.margin-right-19 {
  margin-right: 19px;
}

.btn-container {
  width: 52px;
  height: 52px;
  border-radius: 30px;
  background-color: #000;
  opacity: 0.4;
}

.meeting {
  display: flex;
  flex: 1;
}

.current-view {
  display: flex;
  flex: 1;
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #666;
  background-size: 280px;
  background-image: url('./assets/logo-open-live-gray.png');
}

.stream-player {
  display: flex;
  flex: 1;
}

.stream-container {
  left: 30px;
  top: 91px;
  height: 660px;
  width: 233px;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
}

.stream-container > .stream-player {
  max-height: 150px;
  background: rgba(216,216,216,1);
  max-width: 200px;
  margin: 4px 0;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.stream-container > .stream-player > div:nth-child(2n) {
  // border-radius: 2px;
  // background: #D8D8D8 !important;
}

.avatar-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 44px;
  background:rgba(0,0,0,0.4);
  border-radius: 24px;
  flex-direction: row;
  box-sizing: border-box;
  width: 200px;
  margin-left: 30px;
  margin-top: 30px;
}

.default-avatar {
  background-color: #ffffffde;
  background-image: url("./assets/avatar.png");
  background-size: 38px;
  display: block;
  width: 38px;
  height: 38px;
  margin: 3px;
  margin-left: 0px;
  border-radius: 28px;
}

.autoplay {
  cursor: pointer;
}

.avatar-text {
  display: flex;
  justify-content: center;
  border-radius: 28px;
  width: 100px;
  height: 20px;
  align-items: center;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'HelveticaNeue';
  color: rgba(255,255,255,1);
  line-height: 14px;
}

.nav {
  position: absolute;
  display: flex;
  width: 100%;
  top: 0;
  left: 0;
  justify-content: space-between;
  z-index: 3;
}

.quit {
  display: block;
  margin-top: 36px;
  margin-right: 36px;
  background-image: url("./assets/icon-exit-hover.png");
  background-size: 32px;
  width: 32px;
  height: 32px;
  border-radius: 30px;
  z-index: 3;
  background-color: rgba(0,0,0,0.4);
  cursor: pointer;
}

.quit:hover {
  background-color: #44A2FC;
  opacity: 1.0;
}

// .custom-snackbar {
//   min-width: 180px !important;
//   min-height: 40px !important;
//   background: rgba(0,0,0,0.7);
//   box-shadow: 0px 2px 4px 0px rgba(42,62,84,0.24);
//   border-radius: 20px;
//   justify-content: center;
//   padding: 0 11px;
// }

.github {
  cursor: pointer;
  background-repeat: no-repeat;
  position: absolute;
  background-image: url("./assets/github.png");
  background-size: 30px;
  display: block;
  width: 30px;
  height: 30px;
  margin: 4px;
  border-radius: 28px;
  top: 13px;
  right: 58px;
  cursor: pointer;
  z-index: 3;
}

.like {
  cursor: pointer;
  background-image: url("./assets/icon-add-blue.png");
  background-size: 30px;
  display: block;
  width: 30px;
  height: 30px;
  margin: 4px;
  border-radius: 28px;
}

.like:hover {
  background-image: url("./assets/icon-add-blue.png");
}

.stream-uid {
  padding: 2px 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 10px;
  left: 5px;
  bottom: 7px;
  z-index: 2;
  position: absolute;
  border-radius: 28px;
  max-width: 100px;
  max-height: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: 10px;
  font-size: 12px;
  font-family: HelveticaNeue;
  color: rgba(255,255,255,1);
  line-height: 14px;
}

.mute-video {
  &:hover {
    background-color: #44A2FC;
    opacity: 1.0;
  }
  background-image: url("./assets/icon-camera.png");
}

.unmute-video {
  &:hover {
    background-color: #44A2FC;
    opacity: 1.0;
  }
  background-image: url("./assets/icon-camera-off.png");
}

.mute-audio {
  &:hover {
    background-color: #44A2FC;
    opacity: 1.0;
  }
  background-image: url("./assets/icon-microphone.png");
}

.unmute-audio {
  &:hover {
    background-color: #44A2FC;
    opacity: 1.0;
  }
  background-image: url("./assets/icon-microphone-off.png");
}

.stop-screen-share {
  &:hover {
    background-color: #44A2FC;
    opacity: 1.0;
  }
  background-image: url("./assets/icon-share.png");
}

.start-screen-share {
  &:hover {
    background-color: #44A2FC;
    opacity: 1.0;
  }
  background-image: url("./assets/icon-share.png");
}

.show-profile {
  &:hover {
    opacity: 1.0;
    background-image: url("./assets/icon-text-actived.png");
    background-color: #44A2FC;
  }
  background-image: url("./assets/icon-text.png");
}

.back-btn {
  &:hover {
    background-image: url("./assets/icon-back-hover.png");
  }
  background-size: 32px;
  background-image: url("./assets/icon-back.png");
  background-repeat: no-repeat;
  top: 1rem;
  height: 32px;
  position: absolute;
  width: 32px;
  left: 1rem;
  cursor: pointer;
  z-index: 2;
}

.setting-btn {
  &:hover {
    background-image: url("./assets/icon-setting-hover.png");
  }
  background-size: 32px;
  background-image: url("./assets/icon-setting.png");
  background-repeat: no-repeat;
  top: 1rem;
  height: 32px;
  position: absolute;
  width: 32px;
  right: 1rem;
  cursor: pointer;
  z-index: 2;
}

.role-container {
  display: flex;
  width: 300px;
  align-items: center;
  justify-content: space-around;
}

.role-item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.role-name-inactive {
  padding-left: 5px;
  font-size: 14px;
  color: #eaeaea;
}

.role-name-active {
  padding-left: 5px;
  font-size: 14px;
  color: #44A2FC;
}

.custom-radio {
  position: relative;
  width: 14px;
  height: 14px;  
  /* When the radio button is checked, add a blue background */
  &:hover {
    [type="radio"] ~ .checkmark {
      background-color: #ccc;
    }
  }
  [type="radio"]:checked ~ .checkmark {
    background-color: #2196F3;
  }
  & {
    [type="radio"],.checkmark {
      width: 14px;
      height: 14px;
    }
    [type="radio"] {
      margin: 0;
      position: absolute;
      opacity: 0;
      cursor: pointer;
      z-index: 4;
    }

    [type="radio"]:checked ~ .checkmark:after {
      display: block;
    }

    .checkmark:after {
      content: "";
      position: absolute;
      display: none;
      top: 4px;
      left: 4px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: white;
    }

    .checkmark {
      top: 0;
      left: 0;
      background-color: #eee;
      border-radius: 50%;
    }
  }
}


.radio-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 75px;
  max-width: 75px;
  position: absolute;
  bottom: top;
  top: 132px;
  left: 19px;
  &.host {
    left: 22px;
  }
  &.audience {
    left: 13px;
  }
}

.error-icon {
  padding-right: 10px;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-image: url("./assets/icon-error.png");
}

.cover-image {
  margin-top: 4rem;
  width: 180px;
  height: 180px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("./assets/logo-open-live.png");
}

.icon-audience-active {
  width: 100px;
  height: 118px;
  background-size: 100px 118px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./assets/icon-audience.png");
}

.icon-audience-inactive {
  width: 100px;
  height: 118px;
  background-size: 100px 118px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./assets/icon-audience-inactived.png");
}

.icon-host-active {
  width: 100px;
  height: 118px;
  background-size: 100px 118px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./assets/icon-host.png");
}

.icon-host-inactive {
  width: 100px;
  height: 118px;
  background-size: 100px 118px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./assets/icon-host-inactived.png");
}

.stream-container .stream-profile {
  top: 12px;
  left: 5px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 5px 5px;
}

.main-stream-profile {
  width: 150px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 5px 5px;
  position: absolute;
  display: flex;
  flex-direction: column;
  z-index: 3;
  text-shadow: black 0.1em 0.1em 0.2em;
  font-size: 14px;
  color: #fff;
  right: 80px;
  top: 30px;
}

.stream-profile {
  left: 0;
  z-index: 2;
  color: #fff;
  opacity: 0.9;
  text-shadow: black 0.1em 0.1em 0.2em;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  position: absolute;
}